-- GENERATED SPELL FOR [Squire David] --


function spell0_33447(pUnit, Event) --@Force Cast,n/a--
pUnit:FullCastSpellOnTarget(63028,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33447', 585, 1)
end

function Sorts_33447(pUnit, Event)
local choix_sorts_33447 = math.random(0, 0)
if choix_sorts_33447 == 0 then
pUnit:RegisterEvent('spell0_33447', 1, 1)
end
end

function mob33447_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33447', math.random(1500, 3000), 1)
end

function mob33447_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33447_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33447_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33447, 1, 'mob33447_Action')
RegisterUnitEvent(33447, 2, 'mob33447_Leave')
RegisterUnitEvent(33447, 3, 'mob33447_Kill')
RegisterUnitEvent(33447, 4, 'mob33447_Die')
